#!/usr/bin/env python
# coding=utf-8
# __author__ = 'Yunchao Ling'

ht = {}
infile1 = open("pubmedmeta.new.20160127.7.ids", "r")
for line in infile1:
    line = line.rstrip()
    ht[line] = 0
infile1.close()
infile2 = open("pmid_todo.new.20160127.txt.7.task", "r")
for line in infile2:
    line = line.rstrip()
    if not ht.has_key(line):
        print line
infile2.close()
